package com.lucifer.starter.initializer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created by tangdaoyuan on 2017/1/9.
 */
@Configuration
@ComponentScan(basePackages = {"com.lucifer"})
@PropertySource("classpath:http-logging.properties")
@EnableAutoConfiguration
public class SprintIntializer {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(SprintIntializer.class, args);
    }
}
